﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LunarSF.SHomeWorkshop.LunarMarkdownEditor
{
    /// <summary>
    /// 此类用于获取 Json 信息。此文件中的代码与 董董在这 的博客关系极大：https://blog.csdn.net/sajiazaici/article/details/77647625
    /// 
    /// </summary>
    public class LmeProjectJsonMessage
    {
        public string Id { get; set; }
        public string Tag_name { get; set; }
        public string Target_commitish { get; set; }
        public string Prerelease { get; set; }
        public string Name { get; set; }
        public string Body { get; set; }
        public Author Author { get; set; }
        public string Created_at { get; set; }
        public List<Assets> Assets { get; set; }
    }

    public class Author
    {
        public string Id { get; set; }
        public string Login { get; set; }
        public string Name { get; set; }
        public string Avatar_url { get; set; }
        public string Url { get; set; }
        public string Html_url { get; set; }
        public string Followers_url { get; set; }
        public string Following_url { get; set; }
        public string Gists_url { get; set; }
        public string Starred_url { get; set; }
        public string Subscriptions_url { get; set; }
        public string Organizations_url { get; set; }
        public string Repos_url { get; set; }
        public string Events_url { get; set; }
        public string Received_events_url { get; set; }
        public string Type { get; set; }
        public string Site_admin { get; set; }
    }

    public class Assets
    {
        public string Browser_download_url { get; set; }
    }

}
